package com.gzy.xuexiziliao.mapper;

import com.gzy.xuexiziliao.pojo.dto.AnonymousDTO;
import com.gzy.xuexiziliao.pojo.entity.AnonymousPost;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDate;
import java.util.List;

@Mapper
public interface AnonymousPostMapper {

    void saveAnonymousPost(AnonymousPost anonymousPost);

    List<AnonymousPost> list(Byte category, LocalDate begin, LocalDate end);
}
